import { createRouter, createWebHistory, createWebHashHistory, RouteRecordRaw, RouterView } from "vue-router";
import login from './modules/login'
import study from './modules/study'
const history = createWebHashHistory()
const routes: Array<RouteRecordRaw> = [{
      path: '/',
      name: 'home',
      component: () => import('@/view/home/index.vue'),

},
...login,
...study


]
console.log('login', routes)
const router = createRouter({
      history,
      routes
})
export default router